Ensuring media files are downloaded instead of played

Course- htaccess >

It is possible to ensure that any media files are treated as a download, rather than to be played by the browser.
 
To enable this, create a .htaccess file following the main instructions and guidance, and include the following text:
 

AddType application/octet-stream .zip .mp3 .mp4


 
This tells the Apache Web Server to treat .zip, .mp3, and .mp4 files as downloadable, and should be used instead of specifiying them as audio/video/zip files in your MIME types section.